﻿using Microsoft.Phone.Controls;

namespace BlankSilverlightProject_LocationAware
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            Loaded += new System.Windows.RoutedEventHandler(MainPage_Loaded);
        }

        void MainPage_Loaded(object sender, System.Windows.RoutedEventArgs e)
        {
            AdRotatorSilverlight.DefaultHouseAdBody = new MyDefaultAd();
            AdRotatorSilverlight.Invalidate();
        }
    }
}